import React, {memo} from 'react';

const Son22 = (props) => {
  console.log(666, props);
  return (
    <>
      <p>我是子组件-2</p>
      <p>{props.num}</p>
    </>
  );
}
// Son22 是处理之前的组件。Son2是处理后更强大的组件，避免无用的更新
let Son2 = memo(Son22)
export default Son2;
